Added a missing error message to new menu
Added a missing error message to new menu

There is now a message that prints out if we find an error during the
processing of menu elements (incorrect type). An error is printed out after we
reclaim the memory.

DrItanium/neutron,DrItanium/electron-platform,DrItanium/electron-platform,DrItanium/electron-platform