Revamped fx system, starting to hunt down memory leaks