Removed some code cruft, removed unused console.log and comments. Consistency in reference to foreground and background canvases.
Revert "Removed some code cruft, removed unused console.log and comments. Consistency in reference to foreground and background canvases."

This reverts commit 2ffc800983317e5d1a2760a357e63a3da359480f.
made naming of foreground and background canvases more consistent, removed code cruft, unused console.log and comments