Fixed the log system and finalized the UI for it.