Main meal means the most important meal of the day. Depending on your culture, the main meal could be dinner but in other cultures the main meal might be lunch.
Main course is the largest or most important dish in a meal. For example the main course for a Thanksgiving lunch is usually the Turkey.