removed glfw and reverted to Xlib as glfw was having issues with some embedded platforms