fixed bug with undo and redo for move; fixed unused import warnings