Refactor code acc. to szezso's commits...

Didn't bring in liboverlay related commits, yet.

CAMERA NOT WORKING YET!

p.s. i'm getting real tired of your shiz sometimes, git