fixed a couple ui things, optimized ios 6 things