A building in the centre of Peterlee which residents labelled a disgrace and a crime hotspot has been taken over by new owners.