Fixed bug in function call where arguments are in reverse order; added simple dumpStack