Fixed some minor stuff and renamed lognote to getOctave