File IO functional, implemented GUI lock functionality, exiting seems to be a lot smoother now...not 100% sure if bugs are worked out yet.