Added in some debugging, fixed indentation, added notes.org to keep track of issues