added blobdb.GetData convenience method. Fixed all compile bugs