Updated compass to be able to use keyframes; copied loading stuff