HITTING AND RUIN PROBABILITIES FOR COMPOUND POISSON PROCESSES AND THE CYCLE MAXIMUM OF THE 1 QUEUE