Fix window closing

Add stream operator for boost uuid