checkstyle and formatting
Fix bordered texture caching

Fix destination region centering

general cleanup