Fixed even more shit.
Added chunk dirtying.