added some functions to create a canvas that fills an element, or the entire body
the main loop now starts immediately