Lots of fixes. Registration cleanup. Automated timestamps setup.