Fixed error when used on other post_type than the specified one.
Fixed the install instructions.
Removed some unused code.
Merge pull request #1 from hAmpzter/master

Fixed some things.