Correct segfault in scissors plugin and correct warnings.