fixed bug in image compiler; GST parser now understands categories