Releases unused memories.
Fixes potential bug that ignores constructor arguments.
Handles empty menu items correctly. This is a preparation for the menu customizability.
CompassMenu now works with newer Addon SDK.