General Cleanup

Handle size of OAuth dialog and allow it to be configured. Cleanup the sample managed beans xml. Update some samples.