Also, ignore the advice of those who say skip the front matter in your ebook. Don't. Follow the pattern set by traditional print books, or at least a variation of it.
The only caveat to this advice, is that the front matter chews up the 'free read material', and you really don't want potential readers wasting time reading filler. My solution, list the front matter chapters in the correct order in the index, but move the front matter to the end of the book. It still shows in the free-read index, but doesn't appear when someone reviews the book.
Concerning "the right way to do it", please, let's play nice and not start this nonsense again. There is no right or wrong, these are simply suggestions, either use or ignore them. They're publishing tools, that's it!
As to making your books professional, I agree 100%. Right or wrong, the traditionally published books are the standard of "professional" so I try to mimic them, too. Both their formatting as well as the "rules" they follow for writing fiction, which includes the style guide they use.
Another trick I adopted (based on an article on formatting that Switch (I believe) recommended) is to use decorative fonts for each chapter header. Since you generally need to pay more to embed fonts, and it doesn't always work, I create transparent images of the fonts using a graphics program (Photoshop anyone?).
I must say, it certainly has an impact. Whenever someone picks up one of my books, the first thing they say is to comment on the graphics. What's more, I'm hoping it helps justify the higher price I charge for my ebooks (I still don't sell many print books except for person-to-person sales).