external stylesheet file support, minor tweaks