Fix & New functions

creature:getTarget()
creature:getMaster()
Remove unused variables
Remove potential crash.
Merge pull request #119 from dalkon/master

Fix & New functions