Pull some chunk updating code in from the lwjgl version to fix chunk loading
Merge pull request #922 from mkienenb/headless-chunk-updating

Pull some chunk updating code in from the lwjgl version to fix chunk loading