Initialize mainView property of Extension
Merge pull request #151 from sergey-miryanov/master

Initialize mainView property of Extension