Removed deprecated calls etc

Fixed a few old style calls,
Fixed headers being sent before ready on single mode wordpress
Added auto User account creation
Better Comments to explain what's going on.