removed stb_image dep. and trying to fix key events