Reimplemented account loading, although it isn't fully functional.