Switch to CMenu for Cinnamon 2.2+
Improved error handling
Better handling of menu close signals