This update is intended to fix several PHD2 problems and provide several PHD2 enhancements.
1. Fixes an issue where if the user hits the stop button while guiding in the PHD2 interface, then the user restarts guiding from PHD2, Ekos did not pick up the guide state change since no settling occurred and the user didn't click guide in Ekos.
2. Fixes an issue where the guiding data was not put into the graphs if the user did not enter a focal length into PHD2. Formerly the solution was to put a warning in the Guide log, but users ignored that. Now this tries to set the currentCCD, so the backup method can work the way it was intended to work.
Note-This still won't work if it is a PHD2-only camera and the user doesn't enter a focal length, so the warning still prints.
3. Fixes an issue when the user had external guide frames selected, they did not appear in the guide view, and instead loaded in the fits viewer.
4. Enables the loop and capture buttons for PHD2 along with the corresponding functions to make them work. (Mostly useful if the user has receive external guide frames enabled)
5. Disables the binning combo box which was enabled accidentally.
6. If the user has external guide frames enabled, this enables the tracking box so that the lock position in the image can be reported to the user, and it also enables the user to be able to click to change the lock position for PHD2.
7. This improves Ekos's ability to recognize the guide camera by using PHD2's report of what guide camera it is using. Then Ekos can use this information to disable or enable the receipt of image frames as well as the option to use the SubFrame checkbox.
8. Improves the communication about the various options and status for cameras connected to PHD2 and Ekos.
9. Enables the SubFrame method for PHD2 cameras so that they can switch quickly back and forth between the Guide Star image and full frame external guide frames at the push of a button.
10. After I cleaned up some of the old and no longer needed methods/code, Ekos now connects to PHD2 much faster.
11. I added the option for the user to select autostar, or to have PHD2 use the star lock position chosen by the user.