Small formatting fixes, added comments