Merge pull request #253 from wolfmanjm/upstreamedge

Allow auto detection of MCU and set clock speed accordingly
fix a re entrancy bug in panel affecting menu