Got barebones draw_canvas() working
Added "app_data" global structure