Ease flashing through ssh. Tweak alternate core support. #306 rebased

Continuation of #306 pull request (removed Gaboose@cc4e64a650e7941fc41f899bdc861041795cf8ff and rebased)

Had to make a new PR. If I rebased the original PR, comments on all of the commits would be lost.