Finished usercontrol

Completed usercontrol, and fixed many compile errors.