Fixed more main activity stuff.