added more gui functionality and I think I fixed both the linking bug and fixed the load order