Fix bug with sign placing, and remove some old comments and imports.