Added adaptive elements; began debugging final bugs (Firefox specific).