change version to 0.0.4; tidy up the field_defs table in core.py.