move variable declaration
restrict code to gtk3 only
enter key hendling, and TODO
command should not be freed after spawn
snooper replaced by key-press-event