Set grid and icon size
Memory leak fixes, globals assembled
Magic button