GPU optimizations, debugging helpers.
gitignore updated