Hi clara - good idea to stay close to MGA and fly out to the Corn Islands following morning. If you catch the morning flight, and everything runs ok with the boat between islands, you'll be on Little Corn before noon. The dive shops are just off the small town, with numerous places to stay nearby - without needing to go further out on the island, though walking around to all the cheaper places (Elsa's, Grace's, etc.) isn't that far. I recommend booking some place for the first night; spend part of the first day walking around the island to see if there's some place you'd prefer staying.
For Nicaragua, I agree that Ometepe and Leon are the places to explore, with a night to look around Granada maybe in-between. My favorite Pacific beach area is Jiquilillo, but with so much beach time in Corn Islands and Utila, it's probably going to be rather anticlimactic.
It's a long haul, but here's a direct shuttle that will get you from León to La Ceiba for catching the ferry to Utila. I have not used this but done public transportation. If you want to break up the trip using public transportation, I recommend positioning yourself near the border with Honduras around Ocotal on the Nicaragua side. You could potentially visit Somoto Canyon the day before, but you'll want an early start heading to Honduras.
In Tegucigalpa, take a Cristina Bus to La Ceiba. It goes through El Progreso, completely bypassing San Pedro Sula.
Hope this helps with your options; Enjoy ~

