Added default fg/bg functionality, and hopefully broke nothing else in the process.