Fixed lighting problems.
Added methods for getting and setting block data.