model/draw: only enable the scrollwheel zoom in the editor
sim/runtime: cleaner code generated for tables & friends