Fixed page errors, made type selector and date work.