AutomationEditor: allow time signatures other than 4/4, make grid sync with timeline when scrolling