added handling for additional system commands

- app upgrades
- tmp cleanup

Signed-off-by: Robert Tipton <tret@tretflix.com>