Fixing issue with focus, programmatic updating

I believe this fixes an issue with the UI where the GUI layer was not
always being updated programmatically.  Now there is better detection
of when the user is actually editing the entry.
Update issue 24