Bump version to 4, add gitignore for kernels/ dir