Added support for moving modifiers up and down, and fixed a couple bugs.