Fix possible null pointer exception in CharArray.append(String)
LogFragment now properly refreshes after clearing log entries