some fixes, more memory, panel WIP