updated smart/debug.simba to work alongside the new drawing.simba