Fixed memory leak.
Refactored spawn.c
Merge branch 'master' of github.com:fabianfreyer/airvent