Fix error handling code in tuner code, second call to getPllLock(), and error window closing button.