fixes error loading images from wrong path and fixes missing header files in markknol theme