Improved post editor, removed unused code and dependency references