A bit of a cleanup, added store for command status
Litt mer opprydding
Fixed bug