styling changes mostly. added loading spinner. added a test.