Removed more memory leaks in game and editor panes and panels of client.