misc: fix some GCC warnings

https://bugzilla.gnome.org/show_bug.cgi?id=736636
app: add Ctrl+Q accelerator to quit application

https://bugzilla.gnome.org/show_bug.cgi?id=736636