fixed some bugs -- just need to find some missing resource files and get /chart working