Added Sequencer mode.
Fixed Shift bevhaviour.
Some code cleanup.