Fixed plenty of render window functions for the linux build. The keyboard wont work yet.