fixing some easy bugs
so weird. fixes double logging but I dont know why. too late in the day for me to figure it out, come back in the future... :(
cleaning up trace logging
partial commit. fixing configuration stuff