You always want to put up and take down the main with the boat facing into the wind, for 2 reasons:
1) if you are broadside to the wind, the force on the sail will bind up the bolt rope in the mast sail track, preventing the sail from going up
2) if you get a sudden or strong wind gust, it can topple the boat and/or the boat could take off on you, before you're ready
If the hoist ring will not hook in at the top of the mast, check the way that it is tied. The knot may actually be inadvertently holding the ring out away from the hook and preventing it from hooking.
It's not necessary to drop the main to right the boat, but you do need to uncleat the mainsheet. That way, the sail will not try to scoop up water as you try to right it, and the boat won't try to take off on you once it gets upright. When upright, if you point the boat into the wind and cleat the mainsheet tight, the boat will "weathervane," continuing to point into the wind. If you do this accidentally, it's called getting "stuck in irons." To get out of it, you'll need to backwind the jib & main, back up/turn, then bring the jib in on the new course with the mainsheet loose until you pick up some forward momentum. If you drop the mainsail while on the water, you will not be able to get it back up without going back to land, as the boat will not stay pointing into the wind and you won't be able to hoist it for the reasons listed above.
Sailing with the jib alone is very difficult. You've effectively greatly reduced the sail area and moved the center of effort so far forward that you will not be able to sail very much up wind, and you will not be able to tack - only gybe. You need the mainsail sheeted hard to point the boat higher into the wind and force you through a tack. Under normal conditions, there is a balance between your sails and your rudders. They do not do well when fighting each other - jib sheeted hard and trying to turn upwind, for example. The force on the sails is much greater than the force on the rudders - the rudders will stall and the boat will slide. The wind force on your jib trying to turn the boat downwind will overcome the force of the rudders trying to turn upwind. Likewise if you were to try to turn downwind without letting out the mainsheet - the wind force on the main trying to turn the boat upwind will overcome the force of the rudders trying to turn downwind - causing the rudders to stall, the boat to slide, the sail to fill with wind and probably capsize.
That said, I made the same mistakes my first time out, too! With a little more sailing experience and some relevant reading, you'll be amazed at how much your sailing skills will improve! Glad to hear that, difficult as it may have been, your first time out was still a fun one! Don't get discouraged, just try it again under calmer conditions and I'm sure you'll get the hang of it!