added better end of add data input, other small bugfixes
Merge branch 'nick/revisions'