fixed null pointer exceptions thrown by application attempting to draw empty helix.