main: added object selection mode

I found a better way of doing array<->number convertion but forgot it. Regardless, this works. Need to get backspace working too. Maybe tommorow. I _need_ to focus on my exams. Which start in a month. I'll officially release 0.1 by then.