Remove window from function wrapper args
Rewrite plugin to utilize soft error handling
Move 'this' into a clarification variable in checkToggleStatus function