Fixed vector errors, put Flexor-ing into seperate thread so repaints will be processed while it's working, thus progress can be seen (if desired). Good for debugging