fixed cross platform UI issues, deleted unecessary FileWriter