Updated GUI elements, added page switching, templated page construction functions.