fixed two PHP Notice report.
Tiny display error fixed.
cache path has no trailing slash.
Logger rewrite to replace the dirty debug stuff.