Make eval more pythonic.  Fix some imports.