Added function list with links to php.net manuals. Added a couple hard-coded values to the settings array. Moved some javascript around.
Improved responsiveness for the main buttons.