add PR2Dashboard
deal with non-client application
fix some inappropriate codes