fix various bugs in formspec menu
Fix of by one error in delete world code
Merge branch 'formspec_mainmenu_fixes' of https://github.com/sapier/minetest