Working cut of las2ght, much error
checking to be added still.