Per-OS lwjgl support, code cleanup, in the middle of updater reimplementation.