Call Invoke when interacting with form.

updateTotalMemBar is called by the 'usageThread' (via the
updateEventHandler event). Update it to work with non-UI thread.