UI JS Comment Image Bug Fixing

Various UI JS improvements, comment links use setting in User profile for new window logic.