Finished slti and fixed the problem discovered in last commit.