width height getters added, error checking for devices which are not available