Implements ModeInsert, add the 'a' command (toggle autoscroll) and clean things up.