Big commit, sign-in modal updates and overall improvements.