added original data reset routine to resetdb; started bugfixing (IE: grrr!)