Removed trailing spaces.
JavaDoc, minor refactoring (not tested).
Adding LoginTask that I left out by mistake in the previous commit.
Added draw offer indication in the UI.