* logging and plug rwops mem leak