Karlson2k's improvement of PlibC