Working on program efficiency

Working on making logger more efficient, a lot less code, just need to
rid of some keys soon, don't edit anything, currently unstable,
commented most of code out for now.