New main with KFileFlashAvr support, working