Kirkcudbright, 1850