Dynamic resizing sortof working now, the bottom bar still doesn't resize properly, and there's a few bugs still.