Clean up some code in DolphinWX.

Attempts to clean up some things. Going through this was super painful, considering it *is* wx.