i put new strings on 2 days ago, and i got the guitar in tune today and my B string snapped at the saddle, just enough to where it would not fit back into the saddle..

i also, previously, have had problems where the string will be unwound from the saddle..

i have an Edge3 tremolo, what do i need to do? my lock things on my saddles are nice and tight and the tremolo is set up right..

Check the retainer blocks in the saddle to make sure they don't have burrs or sharp edges that can damage the strings once they are under tension. You may need to replace them.
hmm no..they are quite flat.it also only slips/snaps when i pull up on the tremolo, strings right now are in D standard. maybe i should buy a set of better saddles to put in my tremolo?