Bug fixed.
Database cleanup added.
Common v1.0 used.