Fix env toggling, improve error page styling

![](http://cl.ly/image/0c1p1n3d2c1q/download)