bugfixes, add resources, add openfile button