Merged status bar and code cleanup branches.
Refactored so that file metadata is only sent once
Merge pull request #16 from Surram/status_bar_merged_with_code_cleanup

Merged status bar and code cleanup branches.