Add actions correctly.

Instead of using raw keyboard events, use a more graceful approach
with Actions. This reuses the menu to display a good user interface
when selecting colors or pen width.

Also, makes the menu toggle-able. It starts out hidden and then
Ctrl+Alt+T shows it.