midi main() function compiles.