WordPress 3.9 compatibility

* Minor code refactoring
* Changing the wall the callback is implemented for `admin_init`
* WordPress 3.9.0 compatibility fixes

Signed-off-by: Tom McFarlin <tom@tommcfarlin.com>