Remove out of date stubs
Failing test for backgrounds
Refactor compiler