First commit from MacVim. Added function map to understand functions
Added error message shell to replace popup errors, updated function doc