Tweaked friendly URL redirect logic. Also, more style tweaks.
Turn off rewrite engine by default.