AuthFrame and AuthEntryPanel need reworked into a base class with the underlying functionality and a derived class that implements the GUI and user-interface elements. The original mixed code came from my doing it backwards (GUI elements first, then basic functions) because wxWidgets was the least familiar part of things for me.