Node modifications

These were the modifications necessary to run Steal on Node. Also removed a global variable leak and fixes Amdify.