Fix build
Cleanup
Minor refactoring
Fix patchqueue status code
Fix patchqueue error reporting
Add missing dependency
Fix typo
Merge pull request #13 from 28msec/misc

Fix build