Mobile in progress, small refactoring in cmd, historyState use hash change