Add mouse mode, fix vi-keys, add other stuff