Load files only once (require_once), Abort on MySQL-errors
There is no bundled esniper - removed from setperms.sh
Do not try to foreach() if no items present
read watchlist only if enough data is present
Create temp folder
Read log only if >0 byte