Fixed possible Bug with toCSS(), Fixed some other Linting Warnings