Check nonce first

The nonce will be set on the meta on the editor that way when other save
actions like the menu save get executed, it will not crash because of
missing post type.
Added menu support

This allows for arbitrary depth menus.