Added silent login, clear cache button.

And cleaned out the old preview dialog