imul polyfill
uncommented some process input to match velocity
fix wrongly named var (xrepeat/yrepeat)
fix tempshort type
various debugging bits, inc force open