Use the appropriate value when doing copies to a reference.
Make sure the last command line argument parsed gets passed on.
Compute a better bound for GHC's memory use. We can't really get this perfect, but this will be closer.
Fix a warning, and add a (logged) warning that should help distinguish out-of-memory events from crashes.
Fix grant transfers, remembering that we have to explicitly give up a frame before transferring it.