cleaned up functions, plugins, added post-formats, etc