Added checks for imports of third party modules.

Corrected memory usage checks for BeagleBone Black: psutil recommends the
use of "virtual_memory()" for checking physical memory, but it doesn't
work on the BBB: set up a try/except for the failure.