sender init and send package
eliminate pointer warnings
cleanup of receive handler
moar cleanup of receive handler
send handler untested
sending first packagsending first packagee
made compatible with pa's new code