Added a few properties to Fragment, and a method (unfinished) for fragments rendering on UI in the demo app.