Use xrange instead of range in loops
wx GUI: reduce line length
wx GUI: allow autohiding menu bar

Fixes #135