coupled main panel and controls
bugfixes