Calibre converts epubs perfectly to Amazon's format, mobi.
The developer has been helpful enough on the couple of times I have filed a bug.
I'm not sure why people hate the UI. The configuration UI is pretty bad, but I rarely go need to go there and the main screen works perfectly for me.