Linked subject drop-down to database lists. Fixed #6