Started the implementation of the draw conditions. These haven't been tested yet and may not actually work.