fixes to arg passing and exception throwing
running stuff using the delite runtime