Basic changes so PHP syntax in line with WP standards.
Created very basic method by which non-post content types could be checked
Did far too much wihtout checking in, but essentially have a manually tested options page and working version that only limits on specified post types