debug and database

Added table adapters for connections table and fixed debug window to
auto scroll