Removing last newline at logs (GUI).