Added comments where missing. Standardized those that were present. Formatted everything to Sun standard (auto format...)