cleaned up sidebar and connection interaction
Merge pull request #1 from betzrhodes/data_functionality

cleaned up sidebar and connection interaction