documented other methods, fixed bug in datauri