Some publish button related fixes.
Got publishing working with new posts.