Also store IPaddress in log
Cleanup HTML
Splitted the patternSelect code in to an Each and Final part, allowing bulk operation.