removed minilog, reverted permissions
cleaning up byte/str/unicode