Kilrah/fas offset compensation

Should be ready to merge, little code review please, it's my first try at doing something in companion... :\