Null pointer line 32 on window class