In general, reading all the posts, most have given correct and good advise.
However, to only get in the habit of using the front brake is a very bad advise in my opinion. For you to stop the bike in the shortest distance that you safely can, is to apply both brakes. Yes, the front brake can account up to 90% of your stopping power, but why not use the available percentage leftover from your rear? This could be the difference of hitting something or not. Believe it or not, in an Emergency situation, inches count! This is motorcycling 101, pretty basic stuff here.
Since all of the weight is transferred to the front by your suspesnsion compressing forward, creating friction and traction against that front tire, it's only when the weight begins to transfer back to the rear when your rear tire really starts to kick in.
Maximum braking is to apply both brakes without locking either wheel! This takes lots of practice and you must develope muscle memory in order to do so. Most Riders and Drivers natural reaction is to slam on the brakes whenever they need to brake hard. We have all done it in a car, but if you were to slam on the brakes on a bike, it will most likely crash. This is why everyone needs to practice their quick stops on a regular basis. I do, every week! Progressive squeeze is the key, similar to slowly squeezing your girlfriend's boobs, if you grab them, you'll probably will get slapped! Same as crashing in my opinion.