Make sure highstate status is shown

Fix fetchgrains

Move job related functions to base

Transfer ownership of commands to AppData