Bootstrap 3 + other

Re-wrote for Bootstrap 3 RC1 and improved some misc code.