Fixed setcenter>setCenter, removed unused gitignore