some more error prevention
update logging, SECURITY and success
cleanup default files, more notif in php
cleaned up [0].x() with RY type checks