Used nameless namespace for global variable.. stupid.. Also moved Vector init code for planarias from global to init method. Don't know why I've moved it.