Adjusted main menu formating, adjusted dbFunctions and endLevelcontrol