Implemented command find. Various bugfixes, warning fixes and stuff...