Made sure everything is ready for GUI implementation. Also fixed minor bugs