Disable text over target of PR_KYRIE. Bug report 8434: http://hercules.ws/board/tracker/issue-8434-kyrie-eleison/?gopid=24099
Fixes EDP for Grimtooth and Venom Knife. Bug report 6259: http://hercules.ws/board/tracker/issue-6259-edp-on-grimtooth-not-working-properly-pre-re/
Preliminary fix antimaya hack reporting wrong position. Bug report 8461: http://hercules.ws/board/tracker/issue-8461-attack-range-bug/
Merge pull request #427 from csnv/skillswork

PR_KYRIE Visual fix, EDP corrections. Preliminary fix Maya Purple Hack update position.
Follow up@990c25267aeefe4d792bf941a366a6603afcb42b
-sorry PRE-RE users I always forget about you..:D

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Fix possible memory overflows and underflows.
Add some missing null pointer checks after automatic checks.
Remove useless checks.
fix typo in inter.c in initerface initialisation.
Fix wrong useless cycle added in commit c47d8e4b8f9d63ab6b4e7e286e91cd50a5bdd151.
Fix checking result from function TryEnterCriticalSection.
fix wrong check.
Fix wrong formatting
Improve performance a bit by removing strlen(str) > 0.