added Command.lastInputValue to properly hide command bar when Command.input.value.length == 0 and Command.lastInputValue.length == 0