Fixed LWJGL on linux.
DRY'ed the LWJGL-demos up a bit.