Added file locking feature that prevents multiple PS instance from downloading and indexing at the same time. Fixed a double indexing issue. Removed some scary error messages that were not actual errors. Removed some debug statements.