Pms

PMs, get rid of a few queries from controllers (basics). loadPMs() is probably to be cleaned up in more stages.