Fixed to/too error
Changed bit operations on 24bit color
Added function to set window background
Set window background to black