small fixes; implemented captured areas filling