LPIS: restrict candidates for retrace
Cleanups suggested by NetBeans hints
Clipper: remove unfinished Z-axis code
Cleanup todo notes
Update/add missing licence headers