Documented the VimScript functions
Made isMerginalWindow part of the public API