fixed a problem with loadData since the vectors where altered. Now the Vectors are cloned before changing them.
fixed unsaved data handling and added support for uncommited DB data.