Fixes #1 & #3. The bg color wasn't properly being set, causing crashes and rendering issues.