Remove some ifdefs.
Remove APP_INIT.
removed  non-monolithic support.
Remove MAIN and PROG defines, as there is no more non-monolithic support.