Cleaned up style, dded comments, personalized output a bit.