Reference fix.

Referencing to the editor script attached in inspector
Repaint scene OnInspectorGUI
Merge pull request #1 from cesardeazevedo/master

Fix reference to the editor and repaint scene