add kbd shortcut for quitting the software

Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
needless fun with main for layout

Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>