Simplify some spells functions
Fix thr.pCount
Simplify tryToParse
Fix parsePosts
Fixes #394