Major changes. Works the way it should now.

Feel free to update the frontend to what we had before. I had to upgrade
to bootstrap 3.0.