minor code cleanup
provide control over showing restraints
only load static segments
split of plugin as it is a lot for a file