Add hexrbg & fix magit logging