Fixed nullpointer when using XbmcScreenCapper

Also added better error handling to the capture modes!