New functionality that might be of general interest

Please see readme.txt