lazy single pixel array logic, cleanup, fix bitmap imediate draw bug