Fixed paste error and other small bugs. Updated dependancies.