Tables renamed. New database export.
history tables deleted
more history table deleted
little fixes
bugs fixed