Merge pull request #200 from bhattigurjot/master

adds mouse axis preview while drawing
corrects both script and command widgets for every document
Merge pull request #201 from kamalpreetgrewal/master

corrects both script and command widgets for every document
corrects the checked menu for scripting and console widgets