adding reporttime and reporttimeend flags, debugging info...
bugfixes