merged the UI components for the sample into one code page so people can see just how elegant this all is.