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

Continuation of #306 pull request.

Had to make a new PR. If I rebased the original PR, comments on all of the commits would be lost.