fixed window class not using reference
added method to show/hide cursor
replaced sdl_showcursor to window class wrapper