fixed up the console more and fixed a few bugs