Kill log api

Based on PR #225, with unified handling of custom and default kill log icons and some cleanup of the related code.