added template for output
added default lang file with current error message
check for deadLock in crawlPage function

big thanks to lindesbs for his improvements