Quick and dirty code to get window size
Grabs window dimensions effectively