separate the menu related stuff from main app

- move out the menu
- gesture search
- alternative to gesture search: listview search
- display of history

if mixins were available, a niceier separation would be even easier.