Modified db update functions to return the number of parameters added or modified. Use this information to only call handlers with MDB_MODIFY if params have actually changed.
Restore testmonitor screen clearing.