Update darkfoxprime-akaplugin.c

Add minimal documentation.  Fix a logic bug in the preference string scanner (next pointing to invalid data at end of string)