Added indendations to make code readable. I admit that is was a unreadable glarp before this commit.