started implementing a buffer based bitmap loading algorithm.