added removal of old data and fixed null pointer exceptoin on startup and close
Merge branch 'dev' of https://github.com/magwitch324/wpi-suite into dev