Removed raster_source_pattern_builder. Implemented mutex locking in all builders. Const-correctness. Other missing functions.