minor bugs fixed with new minimize/maximize feature

minor bugs with new minimize/maximize feature - me being anal