Added new SDWrite functions to more versatile. They don't currently work. Updated the todo list.