Supports purchasing now.  Fixed credential storage too.