implemented core stylesheet system, +bugfixes