Split out styles into separate files. Fix some initial rendering bugs.