palette, SHP and template files loading and rendering working now