Fixed bugs, added working LOS, added weapon fire stops on hitting obstacle.