fix firstactive to be after the load function
remove unneeded data in id command
add a command queue

this way inventory commands are not running at the same time