Fixed some example files, fixed bug causing layers to render out-of-order