fixed dumping & updating of key

working to fix the cross-thread timer error.