Added more options pre-flashing and fixed a couple bugs
Big commit and it doesn't let much clear what i've done, but anyway :)

Again, this needs further tests both in CWM and TWRP