fix(drawing): Minor bug fixes and generalizations

View prototype functions now use 'this' instead of the myView instance.
Changed name of WAMS instance to avoid overwriting WAMS library refernce