Add comments, convert spaces to tabs
Move legend to separate container