Improved command box and fixed NPE with no Arduino