fixed: wrong lastID calculation
fixed: NOP
fixed path building issues
fixed issue with site object
fixed issues with layout images and images used by the CKEditor