Some fixes of posts categories,counter style fixes,optimization of code.
Merge remote-tracking branch 'origin/master'