Fixed a bunch of warnings; Corrected pointer truncation in EVAL.