device panel sizing

fixed device panel sizing issue: if only a few devices are in the
database, the panel stretches vertically (very ugly). You guys don't
read this anyway so I don't have to explain the rest mwahaha..
query panel & incidentPanel resizing

query panel added containing toggle buttons (to sort by type) and the
sort and search menu and text field done by Mitchell.

incidentPanel resizing issue fixed in a simi... will anyone read this
ever?!