More robust shader locating
Better filename handling