First, it's an external halyard. There is no "exit".
Second, you need a minmum of
two blocks. The one at the base is fine... the shackle is incorrectly attached though... the pin should be on the block side.
The line should be directed 90 degrees out to the side(this will prevent bending the plate)... to the
SECOND block which wil turn it another 90 degrees aft for a straight run to the winch.. one option would be this
cheek block:
But the preferred choice is
deck organizer... here's one that would allow you to bring another line aft, along with the main.
Also, you need a fairlead to raise the line up over the cabin for a clean run to the winch.
Finally...... the halyard's cleat should be mounted a foot or so in front of the winch. The least expensive solution is a clam, or Vee, cleat:
next in price......... the cam cleat
and most expensive... the rope clutch.. this garhaurer model is the most reasonably priced... around $55.00
Now..... to address your biggest ojection. Protruding bolts inside the cabin roof. Use shorter bolts, or cut them off, and fasten with
cap nuts.