Added todo notes and forgotten logError() method.
Added todo note.