wx GUI: Fix some focus problems
wx GUI: Improve code
wx GUI: Fix bug
wx GUI: Set focus automatically on opened right-notebook tabs