Text this: A General Algorithm for Local Error Control in the RKrGLm Method