code rearrangement, working towards general functions
stub of 'FillFromSQL' function
rearrangement, working towards FillFromSQL
work on FillFromSQL fns
scidb.FillFromSQL working
better error checking, rewrote popup AddItem fn
minor tweaks