*Made function resolution work.
*Fixed bug in expr evaluation.
*other stuff