Cleanup of menu handling.

Signed-off-by: Rob Caelers <rob.caelers@gmail.com>
Remove trailing whitespace.

Signed-off-by: Rob Caelers <rob.caelers@gmail.com>
Remove 'quit' from dock menu.