code clean up and front end options set. increased points to 50 and decreased scaling factor