Fixes dragging bugs, adds seed generation.