made drawing window dynamically resizing

altered how info is stored and drawn
added dynamic canvas resizing based on input
added debug flag (press alt/option), shows bounding boxes and drawline