allow fragment code to be in comment. several changes in example
project.