added log window, fixed bugs and allowed for data file reset