Prettier admin page using WP meta boxes.

Refactored and improved back-end code.