Added ability for marker to link to basestation, and fixed maxstacksize