Update (some of) code with comments

Mostly commented the entire MainActivity, updated a few things with the
parameter settings here and there...