- cleaned up interface and took init sequence from Argyll code
From Argyll package