Fixed intermittent polling problem, added web view for interacting with Galaxy site from app (in-progress) and various refactoring.