fix incorrect use of RSTRING_PTR, add #view command
remove some specific code for TokyoRuby2014 demo