Auth working.
Some tidy up.
Almost complete W8 implementation.
Initial Windows 8 commit.