Moved main application code from wavegen.cpp to wgen_app.cpp