further fixes and features for stl viewer