NSTextViewSample: added
NSTextViewSample: fix build
Fire: fix build, clean up and modernize code