Made the post type widgets up to coding standards and improved some stuff