removed pollForImage, returned getAllAvailableModules to original function
fixed bug in hand scaling that would break if margins were greater than 0.5