Remove unused scala mode, and add custom command remapping.

The only ocmmands remapped in this commit are window related commands.