Improved/fixed contract creation/editting. There is still a small
situation regarding the Date vars. Working on it. Please leave the
console prints for the time being