Resolved all device and gl_device namespaced enum errors

There's still a few errors left to be handled in the main lib (doing them now) but just thought I'd pr all of the device fixes first. Again I've changed some of the names to better suit the name-spaced enum usage so might want to review. *wipes sweat off forehead*