Gui fixes

Oh my. If we're handed a null path, that seems more like an error (worthy of an exception) rather than meekly returning null.