Fix gl plane feature

Fixed GL plane feature not respecting the GCS along with some other fixes. 
I don't think jshint complains about this, but ignoring specific warnings line-by-line is described here: http://www.jshint.com/docs/