I agree with you, Dave, having a clear contract is a must. By the way, I took a look at your website... Wow! You do really nice work.
Does anyone know what is common practice in the industry? In general, does the web design firm keep ownership of the code?