Added most of the content panel code.

Serious progress