Cleaned up minor bugs in SQL querying, added TS text field, button for new form. Modified layout slightly