Cleanup code in TelepayGUI