* compile and fix bugs for WP8
+ pausing state and server session error handling