Overriding method should have "virtual"

Fix warnings on OSX
add `nwsnapshot` to package tool
[test] test case for screen shot