Some refactoring of mod code to avoid bad pointers
Hook in pattern rotate further. Do calc to fix step index while playing is turned on. Need to still differentiate between active pattern and played pattern for rotation as well as pattern length