Working w/out mem+gui

Working version, that lacks memory features and the UI looks shit.