Made latex compile save beforehand

Added variable toggles for initializing cursor-centered-mode, linum-relative-mode