Re-indent
Make sure rmx.userState is set/restored on load
Remove mispelled and therefore probably unused variable rmx.VERISON