Removed superfluous magic number and adjusted the correct one.
Styled edit window. Got rid of magic rotation number. Re-enabled buttons for now.