Background/Foreground implemented. Untested, but should work
Tested, does not work