Add, copy, and remove fields implemented. Misc debugging and cleanu