logging added

settings tab is now functional. added logging and a window to display it
in. both still very primitive.