Fixed a few bugs and greatly improved the extra conditions system.