Added effects and fixed small bugs.