API changes, critical fixes

* add missing uw_begin_init call
* fix uw_malloc/uw_register_transactional order
* pass stdin with the run's argument