Fixes many tickets

Fixes #69 
Fixes #80 
Fixes #73 
Fixes #74 
Fixes #82
Fixes #79 
Fixes #81