many changes

* MSDS link is now more easy to configure
* some teeny performance changes by scoping variables properly
* fixed #28
* tiny fix to display when error messages turn up