Amber when running
Refactor to simplify code
Don't update the repository's datastream if it is pending
Merge pull request #2 from levent/amber

Amber when running