Fixes for a few UI problems

You may like to consider looking at a few commits from my repo, wherein some corner case bugs in the user interface are fixed. Some of the bugs are the kind where memory is corrupted, resulting in a crash. A few of the bugs merely get the FFT plot stuck in a way that requires a restart.

73 de SM6-8239