square-shaped entities no longer need lines defined; various fixes