add lock to new task api
add device stat and screenshot api
support thumbnail of screenshot
workaround to avoid conflict in case of concurrency
refine screencap
Merge branch 'release/v0.0.2'