Fixed move-background. Refactored some functions for optimization. Working a lot more smoothly.
Merge conflict resolution.