Bugfix.

Signed-off-by: Victor Berger <victor.berger@m4x.org>
Main loop & quit command.

Signed-off-by: Victor Berger <victor.berger@m4x.org>