Monkey mode for hg added. Some minor changes to yasnippets