Added HTML decoding. Fixed limit variables. Fixed logger.