Logging implemented, minor fixes to styles