Merge pull request #4 from useruser3/master

fixed log parsing re:HTML tags
Add better error handling to player list
Fixing messy indentation
Prevent a simple directory security issue
Fixing one possible byte sequence I missed in mclogclean()
Yet another messy byte sequence.  You'd think this stuff would be documented better.
Merge pull request #1 from Alanaktion/master

merge from original 28/06/14