Conformal contour dynamics in bounded domains