setup canvas/game loop