Now shows columns for empty tables and allows the user to add new records. Returns all records from a table if no search criteria is entered.