Added mutex locks for AMDeviceGetInterfaceType
Indents
Layout fix
Merge pull request #34 from JeremyAgost/mutex-fixes

Added mutex locks for AMDeviceGetInterfaceType