argh... ctrl+c is captured by unbuffered getchar
minor refactoring
switch to rbenv
additional controls
exit program after last file
fixing airimg