Added menu import/export API feature
Misc fixes and tweaks