added option to export bailiff and inhouse
added options form
refactored GUI for above