Update other programs to work with multiple APS2s

Also, fix get_device_id() to return 0 if the user just presses enter.

--BRJ