reset post type settings.
move GT out of global scope
custom sections data stuff
more post type reset stuff