Fix hardcoded strings and remove some unused resources

This fixes #1018