Slight changes. Removed main.cpp which did nothing. Fixed real-main.c.