Don't force the garbage collector to run. Reuse your frames if and whenever possible. I have no idea what you could be doing that would prevent you from reusing the frames (or just hiding them and leaving them in memory for the rest of the game session).
EVENT_PLAYER_ACTIVATED fires at login and for every loading screen afterward. If you don't need the event after you login, unregister it.
|