Source code output optimizations

The source code should be formatted well on every page now.