Updated HDRlib
Added quit command & fixed console window thread