GUI fixing

Fixed Grid layout
Added percent function
Tweaked main menu
Event calls now work
Now cursor drawing is software based