reworked: append(), prepend(), replace; created: safety(); __construct() now resets $error before processing.