Fixed typo
Setting the default selector and formatter properly
Grabbing Selector from  the correct scope
Removing an unused variable
Merge pull request #2 from StanleyGoldman/Bugfixes

Bugfixes