The main menu now works properly!

With the exception of a few bugs, but i will fix those later.