fixed edit function
fixed sync function
other important fixes

netcal is functional now