As far as what lucky said with tapping the rear first, that is usually done to align the bike in a straight direction before hitting the front brake. its not so much a tap as applying the rear brake slightly before the front, but only very lightly so that it aligns the bike, as the greater force on the rear tire will align the motorcycle, which provides safer front brake use. Also, as far as braking goes, you technically want the front brake to lock up before the rear, again to provide an aligning moment to the motorcycle, and keep it from flipping around. This is of course assuming that the rear brake is being used to its full potential as well. A locked brake provides less force than that of one that is not locked.
-Note, the the wanting to lock the front first applies to cars, I am pretty sure the same concept will apply to bikes as well, as they are essentially the same system in a straight line.