fixed some silly bugs, got the loading of the files working