Merge pull request #7 from moosy/master

Added party/pause-infohandler, set retry-timeout to 1000ms
Fix whitespace.
Use else-if
Make party and pause integer values.
Fix up code formatting and add meaningful value limits.
Fix party/pause setter (wrong type)