Reorganized source code tree.

Bug fixes.

New time grid display