Fix error with bitmap_write_byte not calculating proper offset
Merge branch 'bitmap_write' into dev

Conflicts:
	bitmap2d.c