cleaning up and standard-ifying php, adding to functionality of taskbar