fixed lots of guiwindow bugs and made it render the panel

Signed-off-by: Caleb Cassady <psychotix@hotmail.com>