Refactor menu action for user commands
Handle Unix signals properly
Cleanup test code in App
Fix context menu position if text wrapping is disabled