Fixed some bugs

fixed bugs working towards adding a panel first, and generating the
options.
Merge branch 'gui' of https://github.com/JacobHughes/DBSDetector into gui