Background processing now works. Just couldn't find an easy way to use a
count for number of processes in background.