Trimmed the fat.
Removed lose code that did not function well. Reflected bitmap dimension changes in render().