Minor fix for NanoUI

* I was passing src instead of src_object in try_update_ui, this is fixed now.
* Changed checks to use the isnul procl, just to be sure.
Merge pull request #4241 from Faerdan/dev

Minor fix for NanoUI