FAST_BUG_UGLY made too much trouble, so I removed it and replaced it with two new options: BLACK_MAGIC, which activates the safe look up table optimizations and UNSAVE_MAGIC, which activates the texture lookup in unknown memory.