added paint proxy, added scrollbar to file panel, various cleanups