Cleaned up some styling inconsitencies in wxPython calls.
Fixed some minor bugs in the process.