Fixed a few bugs, started commenting